package com.ysd.lis.service.bac;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.bac.BacTestWorkFlowNode;
import com.ysd.lis.entity.lab.LabMaininfo;

import java.util.List;

/**
 * <p>
 * 微生物检验应用流程方案节点 服务类
 * </p>
 *
 * @author cfz
 * @since 2024-04-11
 */
public interface BacTestWorkFlowNodeService extends IService<BacTestWorkFlowNode> {
    Result findBacTestWorkFlowNodeList(BacTestWorkFlowNode bacTestWorkFlowNode);

    List<BacTestWorkFlowNode> findBacTestWorkFlowNodeArray(BacTestWorkFlowNode bacTestWorkFlowNode);
    BacTestWorkFlowNode findBacTestWorkFlowNodeByLast(LabMaininfo mainInfo);

    Result addBacTestWorkFlowNode(BacTestWorkFlowNode bacTestWorkFlowNode);

    Result deleteBacTestWorkFlowNode(BacTestWorkFlowNode bacTestWorkFlowNode);

    Result updateBacTestWorkFlowNode(BacTestWorkFlowNode bacTestWorkFlowNode);
}
